var t = getApp();

Component({
    properties: {
        details: {
            type: Object
        }
    },
    data: {
        show: !1
    },
    methods: {
        showPopup: function() {
            this.setData({
                show: !0
            });
        },
        onClose: function() {
            this.setData({
                show: !1
            });
        },
        toPage: function() {
            this.properties.details.advSkipContent && t.global.loginThenRedirectTo(this.properties.details.advSkipContent);
        }
    }
});